﻿//-----------------------------------------------------------------------
// <copyright file="AccountRolesDataList.cs" company="O-RID">
//     Copyright (c)2010 O-RID Co.,Ltd.
// </copyright>
// <author>Zhang Jun</author>
// <summary>
//          服务的数据传输项
//          用户权限
//          作成日：05/21/2010
// </summary>
//-----------------------------------------------------------------------
namespace Orid.Management.Statistics.Service.OPUnitService.Account.ServiceModel
{
    using System.Runtime.Serialization;

    /// <summary>
    /// AccountRolesDataList类
    /// 用户有哪些权限
    /// </summary>
    [DataContract]
    public class AccountRolesDataList
    {
        #region 字段
        /// <summary>
        /// _roleID
        /// 权限种类ID
        /// </summary>
        string _roleID = string.Empty;

        /// <summary>
        /// _roleName
        /// 权限名称
        /// </summary>
        string _roleName = string.Empty;

        /// <summary>
        /// _accountID
        /// 用户ID
        /// </summary>
        string _accountID = string.Empty;

        /// <summary>
        /// _opName
        /// 用户名
        /// </summary>
        string _opName = string.Empty;

        #endregion 字段

        #region 属性
        /// <summary>
        /// Gets or sets the name of the RoleID
        /// 权限种类ID
        /// </summary>
        [DataMember]
        public string RoleID
        {
            get { return _roleID; }
            set { _roleID = value; }
        }
        
        /// <summary>
        /// Gets or sets the name of the RoleName
        /// 权限名称
        /// </summary>
        [DataMember]
        public string RoleName
        {
            get { return _roleName; }
            set { _roleName = value; }
        }

        /// <summary>
        /// Gets or sets the name of the accountID
        /// 用户ID
        /// </summary>
        [DataMember]
        public string AccountID
        {
            get { return _accountID; }
            set { _accountID = value; }
        }

        /// <summary>
        /// Gets or sets the name of the OpName
        /// 用户名
        /// </summary>
        [DataMember]
        public string OpName
        {
            get { return _opName; }
            set { _opName = value; }
        }
        #endregion 属性

    }
    
}
